.class public Lcom/glympse/android/glympseservice/ErrorReporter;
.super Ljava/lang/Object;
.source "ErrorReporter.java"

# interfaces
.implements Ljava/lang/Thread$UncaughtExceptionHandler;


# static fields
.field private static ms_fSet:Z

.field public static ms_strDeviceId:Ljava/lang/String;

.field public static ms_strNetworkCountryIso:Ljava/lang/String;

.field public static ms_strNetworkOperator:Ljava/lang/String;

.field public static ms_strNetworkOperatorName:Ljava/lang/String;

.field public static ms_strNetworkType:Ljava/lang/String;

.field public static ms_strPhoneType:Ljava/lang/String;

.field public static ms_strSimCountryIso:Ljava/lang/String;

.field public static ms_strSimOperator:Ljava/lang/String;

.field public static ms_strSimOperatorName:Ljava/lang/String;

.field public static ms_strSimState:Ljava/lang/String;


# instance fields
.field private m_fInHandler:Z

.field private m_oUncaughtExceptionHandlerPrev:Ljava/lang/Thread$UncaughtExceptionHandler;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 34
    const/4 v0, 0x0

    sput-boolean v0, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_fSet:Z

    .line 38
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strDeviceId:Ljava/lang/String;

    .line 39
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strPhoneType:Ljava/lang/String;

    .line 40
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkType:Ljava/lang/String;

    .line 41
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimState:Ljava/lang/String;

    .line 42
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimCountryIso:Ljava/lang/String;

    .line 43
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimOperator:Ljava/lang/String;

    .line 44
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimOperatorName:Ljava/lang/String;

    .line 45
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkCountryIso:Ljava/lang/String;

    .line 46
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkOperator:Ljava/lang/String;

    .line 47
    sput-object v1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkOperatorName:Ljava/lang/String;

    .line 32
    return-void
.end method

.method private constructor <init>()V
    .locals 1

    .prologue
    .line 139
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 36
    invoke-static {}, Ljava/lang/Thread;->getDefaultUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;

    move-result-object v0

    iput-object v0, p0, Lcom/glympse/android/glympseservice/ErrorReporter;->m_oUncaughtExceptionHandlerPrev:Ljava/lang/Thread$UncaughtExceptionHandler;

    .line 49
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/glympse/android/glympseservice/ErrorReporter;->m_fInHandler:Z

    .line 141
    return-void
.end method

.method public static CaptureDeviceInfo(Landroid/content/Context;)V
    .locals 7
    .parameter "oContext"

    .prologue
    const/4 v6, -0x1

    .line 66
    if-nez p0, :cond_0

    .line 68
    sget-object v4, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    if-eqz v4, :cond_5

    .line 70
    sget-object p0, Lcom/glympse/android/glympse/Glympse;->ms_oThis:Lcom/glympse/android/glympse/Glympse;

    .line 83
    :cond_0
    :goto_0
    :try_start_0
    invoke-virtual {p0}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v4

    const-string v5, "android_id"

    invoke-static {v4, v5}, Landroid/provider/Settings$Secure;->getString(Landroid/content/ContentResolver;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strDeviceId:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_a

    .line 86
    :goto_1
    const/4 v1, -0x1

    .line 87
    .local v1, ePhoneType:I
    const/4 v0, -0x1

    .line 88
    .local v0, eNetworkType:I
    const/4 v2, -0x1

    .line 92
    .local v2, eSimState:I
    :try_start_1
    const-string v4, "phone"

    invoke-virtual {p0, v4}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/telephony/TelephonyManager;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_3

    .line 93
    .local v3, oTelephonyManager:Landroid/telephony/TelephonyManager;
    if-eqz v3, :cond_1

    .line 95
    :try_start_2
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getPhoneType()I
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    move-result v1

    .line 96
    :goto_2
    :try_start_3
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getNetworkType()I
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1

    move-result v0

    .line 97
    :goto_3
    :try_start_4
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getSimState()I
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_2

    move-result v2

    .line 98
    :goto_4
    :try_start_5
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getSimCountryIso()Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimCountryIso:Ljava/lang/String;
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_9

    .line 99
    :goto_5
    :try_start_6
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getSimOperator()Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimOperator:Ljava/lang/String;
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_8

    .line 100
    :goto_6
    :try_start_7
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getSimOperatorName()Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimOperatorName:Ljava/lang/String;
    :try_end_7
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_7

    .line 101
    :goto_7
    :try_start_8
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getNetworkCountryIso()Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkCountryIso:Ljava/lang/String;
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_6

    .line 102
    :goto_8
    :try_start_9
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkOperator:Ljava/lang/String;
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_9 .. :try_end_9} :catch_5

    .line 103
    :goto_9
    :try_start_a
    invoke-virtual {v3}, Landroid/telephony/TelephonyManager;->getNetworkOperatorName()Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkOperatorName:Ljava/lang/String;
    :try_end_a
    .catch Ljava/lang/Exception; {:try_start_a .. :try_end_a} :catch_4

    .line 124
    .end local v3           #oTelephonyManager:Landroid/telephony/TelephonyManager;
    :cond_1
    :goto_a
    if-eq v6, v1, :cond_2

    .line 126
    invoke-static {v1}, Lcom/glympse/platform/Platform;->GetTelephonyManagerPhoneTypeString(I)Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strPhoneType:Ljava/lang/String;

    .line 128
    :cond_2
    if-eq v6, v0, :cond_3

    .line 130
    invoke-static {v0}, Lcom/glympse/platform/Platform;->GetTelephonyManagerNetworkTypeString(I)Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkType:Ljava/lang/String;

    .line 132
    :cond_3
    if-eq v6, v2, :cond_4

    .line 134
    invoke-static {v2}, Lcom/glympse/platform/Platform;->GetTelephonyManagerSimStateString(I)Ljava/lang/String;

    move-result-object v4

    sput-object v4, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimState:Ljava/lang/String;

    .line 136
    .end local v0           #eNetworkType:I
    .end local v1           #ePhoneType:I
    .end local v2           #eSimState:I
    :cond_4
    return-void

    .line 72
    :cond_5
    sget-object v4, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    if-eqz v4, :cond_4

    .line 74
    sget-object p0, Lcom/glympse/android/glympseservice/GlympseService;->ms_oThis:Lcom/glympse/android/glympseservice/GlympseService;

    goto :goto_0

    .line 95
    .restart local v0       #eNetworkType:I
    .restart local v1       #ePhoneType:I
    .restart local v2       #eSimState:I
    .restart local v3       #oTelephonyManager:Landroid/telephony/TelephonyManager;
    :catch_0
    move-exception v4

    goto :goto_2

    .line 96
    :catch_1
    move-exception v4

    goto :goto_3

    .line 97
    :catch_2
    move-exception v4

    goto :goto_4

    .line 119
    .end local v3           #oTelephonyManager:Landroid/telephony/TelephonyManager;
    :catch_3
    move-exception v4

    goto :goto_a

    .line 103
    .restart local v3       #oTelephonyManager:Landroid/telephony/TelephonyManager;
    :catch_4
    move-exception v4

    goto :goto_a

    .line 102
    :catch_5
    move-exception v4

    goto :goto_9

    .line 101
    :catch_6
    move-exception v4

    goto :goto_8

    .line 100
    :catch_7
    move-exception v4

    goto :goto_7

    .line 99
    :catch_8
    move-exception v4

    goto :goto_6

    .line 98
    :catch_9
    move-exception v4

    goto :goto_5

    .line 83
    .end local v0           #eNetworkType:I
    .end local v1           #ePhoneType:I
    .end local v2           #eSimState:I
    .end local v3           #oTelephonyManager:Landroid/telephony/TelephonyManager;
    :catch_a
    move-exception v4

    goto :goto_1
.end method

.method public static Create(Landroid/content/Context;)V
    .locals 1
    .parameter "oContext"

    .prologue
    .line 54
    sget-boolean v0, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_fSet:Z

    if-nez v0, :cond_0

    .line 56
    const/4 v0, 0x1

    sput-boolean v0, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_fSet:Z

    .line 59
    new-instance v0, Lcom/glympse/android/glympseservice/ErrorReporter;

    invoke-direct {v0}, Lcom/glympse/android/glympseservice/ErrorReporter;-><init>()V

    invoke-static {v0}, Ljava/lang/Thread;->setDefaultUncaughtExceptionHandler(Ljava/lang/Thread$UncaughtExceptionHandler;)V

    .line 61
    :cond_0
    return-void
.end method

.method public static GetReport()Ljava/lang/String;
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 212
    const-wide/16 v0, 0x0

    invoke-static {v2, v0, v1, v2}, Lcom/glympse/android/glympseservice/ErrorReporter;->GetReport(Ljava/lang/String;JLjava/lang/Throwable;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public static GetReport(Ljava/lang/String;JLjava/lang/Throwable;)Ljava/lang/String;
    .locals 22
    .parameter "strName"
    .parameter "lCurrent"
    .parameter "oThrowable"

    .prologue
    .line 219
    const/4 v2, 0x0

    invoke-static {v2}, Lcom/glympse/android/glympseservice/ErrorReporter;->CaptureDeviceInfo(Landroid/content/Context;)V

    .line 222
    const-wide/16 v2, 0x0

    cmp-long v2, p1, v2

    if-gtz v2, :cond_0

    .line 224
    invoke-static {}, Lcom/glympse/platform/common/CorrectedTime;->GetTime()J

    move-result-wide p1

    .line 228
    :cond_0
    if-nez p0, :cond_1

    .line 230
    invoke-static/range {p1 .. p2}, Lcom/glympse/android/glympseservice/ErrorReporter;->GetReportName(J)Ljava/lang/String;

    move-result-object p0

    .line 236
    :cond_1
    :try_start_0
    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v8

    .line 237
    .local v8, oLocale:Ljava/util/Locale;
    if-nez v8, :cond_7

    const/4 v2, 0x0

    move-object v3, v2

    .line 238
    .local v3, strLanguage:Ljava/lang/String;
    :goto_0
    if-nez v8, :cond_8

    const/4 v2, 0x0

    .line 239
    .local v2, strCountry:Ljava/lang/String;
    :goto_1
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-static {v3}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_2

    const-string v3, "??"

    .end local v3           #strLanguage:Ljava/lang/String;
    :cond_2
    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v4, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "-"

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_3

    const-string v2, "??"

    .end local v2           #strCountry:Ljava/lang/String;
    :cond_3
    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v12

    .line 242
    .local v12, strLocaleCode:Ljava/lang/String;
    const/4 v14, 0x0

    .line 243
    .local v14, strUserId:Ljava/lang/String;
    const/4 v10, 0x0

    .line 244
    .local v10, strNickName:Ljava/lang/String;
    const-string v9, ""

    .line 245
    .local v9, strActiveSent:Ljava/lang/String;
    const-string v11, ""

    .line 246
    .local v11, strActiveWatching:Ljava/lang/String;
    const/4 v7, 0x0

    .line 247
    .local v7, nOriginalBuild:I
    const-string v13, ""
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 248
    .local v13, strOriginalBuildName:Ljava/lang/String;
    const/4 v6, -0x2

    .line 249
    .local v6, eLocProvider:I
    const-wide/16 v2, 0x0

    .line 250
    .local v2, dLatitude:D
    const-wide/16 v4, 0x0

    .line 254
    .local v4, dLongitude:D
    :try_start_1
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v15

    if-eqz v15, :cond_13

    .line 257
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v15

    iget-object v15, v15, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    if-eqz v15, :cond_12

    .line 259
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v15

    iget-object v15, v15, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v14, v15, Lcom/glympse/platform/Config;->m_strGlympseUserId:Ljava/lang/String;

    .line 260
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v15

    iget-object v15, v15, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v10, v15, Lcom/glympse/platform/Config;->m_strNickName:Ljava/lang/String;

    .line 261
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v15

    iget-object v15, v15, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget v7, v15, Lcom/glympse/platform/Config;->m_nOriginalBuild:I

    .line 262
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v15

    iget-object v15, v15, Lcom/glympse/platform/Platform;->m_oConfig:Lcom/glympse/platform/Config;

    iget-object v13, v15, Lcom/glympse/platform/Config;->m_strOriginalBuildName:Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    move-object v15, v14

    .end local v14           #strUserId:Ljava/lang/String;
    .local v15, strUserId:Ljava/lang/String;
    move-object v14, v13

    .end local v13           #strOriginalBuildName:Ljava/lang/String;
    .local v14, strOriginalBuildName:Ljava/lang/String;
    move-object v13, v10

    .line 266
    .end local v10           #strNickName:Ljava/lang/String;
    .local v13, strNickName:Ljava/lang/String;
    :goto_2
    :try_start_2
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    if-eqz v10, :cond_4

    .line 269
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget v6, v10, Lcom/glympse/platform/LocManager;->m_eLocProvider:I

    .line 272
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget-object v10, v10, Lcom/glympse/platform/LocManager;->m_oLastLocPoint:Lcom/glympse/platform/common/LocPoint;

    if-eqz v10, :cond_4

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget-object v10, v10, Lcom/glympse/platform/LocManager;->m_oLastLocPoint:Lcom/glympse/platform/common/LocPoint;

    invoke-virtual {v10}, Lcom/glympse/platform/common/LocPoint;->HasLocation()Z

    move-result v10

    if-eqz v10, :cond_4

    .line 274
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget-object v10, v10, Lcom/glympse/platform/LocManager;->m_oLastLocPoint:Lcom/glympse/platform/common/LocPoint;

    iget-wide v2, v10, Lcom/glympse/platform/common/LocPoint;->m_dLatitude:D

    .line 275
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oLocManager:Lcom/glympse/platform/LocManager;

    iget-object v10, v10, Lcom/glympse/platform/LocManager;->m_oLastLocPoint:Lcom/glympse/platform/common/LocPoint;

    iget-wide v4, v10, Lcom/glympse/platform/common/LocPoint;->m_dLongitude:D

    .line 280
    :cond_4
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oSentTickets:Lcom/glympse/platform/common/SentTicketList;

    if-eqz v10, :cond_11

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oSentTickets:Lcom/glympse/platform/common/SentTicketList;

    iget-object v10, v10, Lcom/glympse/platform/common/SentTicketList;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    if-eqz v10, :cond_11

    .line 282
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v10

    iget-object v10, v10, Lcom/glympse/platform/Platform;->m_oSentTickets:Lcom/glympse/platform/common/SentTicketList;

    iget-object v10, v10, Lcom/glympse/platform/common/SentTicketList;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    invoke-virtual {v10}, Lcom/glympse/platform/GVector$Tickets;->iterator()Ljava/util/Iterator;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2

    move-result-object v16

    move-object v10, v9

    .end local v9           #strActiveSent:Ljava/lang/String;
    .local v10, strActiveSent:Ljava/lang/String;
    :cond_5
    :goto_3
    :try_start_3
    invoke-interface/range {v16 .. v16}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-nez v9, :cond_9

    .line 292
    :goto_4
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v9

    iget-object v9, v9, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    if-eqz v9, :cond_10

    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v9

    iget-object v9, v9, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    iget-object v9, v9, Lcom/glympse/platform/common/UserList;->m_listUsers:Lcom/glympse/platform/GVector$Users;

    if-eqz v9, :cond_10

    .line 294
    invoke-static {}, Lcom/glympse/platform/Platform;->instance()Lcom/glympse/platform/Platform;

    move-result-object v9

    iget-object v9, v9, Lcom/glympse/platform/Platform;->m_oUserList:Lcom/glympse/platform/common/UserList;

    iget-object v9, v9, Lcom/glympse/platform/common/UserList;->m_listUsers:Lcom/glympse/platform/GVector$Users;

    invoke-virtual {v9}, Lcom/glympse/platform/GVector$Users;->iterator()Ljava/util/Iterator;

    move-result-object v16

    :cond_6
    invoke-interface/range {v16 .. v16}, Ljava/util/Iterator;->hasNext()Z
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3

    move-result v9

    if-nez v9, :cond_b

    move-object v9, v10

    .end local v10           #strActiveSent:Ljava/lang/String;
    .restart local v9       #strActiveSent:Ljava/lang/String;
    move-object v10, v11

    .end local v11           #strActiveWatching:Ljava/lang/String;
    .local v10, strActiveWatching:Ljava/lang/String;
    move-object v11, v13

    .end local v13           #strNickName:Ljava/lang/String;
    .local v11, strNickName:Ljava/lang/String;
    move-object v13, v14

    .end local v14           #strOriginalBuildName:Ljava/lang/String;
    .local v13, strOriginalBuildName:Ljava/lang/String;
    move-object v14, v15

    .line 317
    .end local v15           #strUserId:Ljava/lang/String;
    .local v14, strUserId:Ljava/lang/String;
    :goto_5
    :try_start_4
    new-instance v15, Ljava/lang/StringBuilder;

    const-string v16, "Report Name:       "

    invoke-direct/range {v15 .. v16}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object v0, v15

    move-object/from16 v1, p0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 318
    .end local p0
    const-string v15, "\n"

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 319
    const-string v15, "\nBuild Type:        "

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const-string v15, "Android"

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 320
    const-string v15, "\nGlympse Version:   "

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const-string v15, "1.28"

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 321
    const-string v15, "\nGlympse Build:     "

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const/16 v15, 0x82

    move-object/from16 v0, p0

    move v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 322
    const-string v15, "\nGlympse OrigBuild: "

    move-object/from16 v0, p0

    move-object v1, v15

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    move-object/from16 v0, p0

    move v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 323
    const-string v7, "\nGlympse BName:     "

    .end local v7           #nOriginalBuild:I
    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const-string v7, "as"

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 324
    const-string v7, "\nGlympse OrigBName: "

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    move-object/from16 v0, p0

    move-object v1, v13

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 325
    const-string v7, "\nGlympse Debug:     "

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const/4 v7, 0x0

    move-object/from16 v0, p0

    move v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 326
    const-string v7, "\nGlympse User ID:   "

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    invoke-static {v14}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 327
    const-string v7, "\nGlympse Nick Name: "

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    invoke-static {v11}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 328
    const-string v7, "\n"

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 329
    const-string v7, "\nLocation Provider: "

    move-object/from16 v0, p0

    move-object v1, v7

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    move-object/from16 v0, p0

    move v1, v6

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 330
    const-string v6, "\nLocation:          "

    .end local v6           #eLocProvider:I
    move-object/from16 v0, p0

    move-object v1, v6

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const/4 v6, 0x5

    invoke-static {v2, v3, v6}, Lcom/glympse/platform/common/Helpers;->DoubleToStr(DI)Ljava/lang/String;

    move-result-object v2

    .end local v2           #dLatitude:D
    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const-string v2, ", "

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const/4 v2, 0x5

    invoke-static {v4, v5, v2}, Lcom/glympse/platform/common/Helpers;->DoubleToStr(DI)Ljava/lang/String;

    move-result-object v2

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 331
    const-string v2, "\nActive Sent:       "

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    invoke-static {v9}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 332
    const-string v2, "\nActive Recieved:   "

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    invoke-static {v10}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 333
    const-string v2, "\n"

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 334
    const-string v2, "\nTimestamp:         "

    move-object/from16 v0, p0

    move-object v1, v2

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    const-string v2, "%tF %tT.%tL"

    const/4 v3, 0x3

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    invoke-static/range {p1 .. p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    .end local v4           #dLongitude:D
    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x1

    invoke-static/range {p1 .. p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x2

    invoke-static/range {p1 .. p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    .end local p1
    aput-object p1, v3, v4

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 335
    const-string p1, "\nDevice ID:         "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strDeviceId:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 336
    const-string p1, "\nLocale Name:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    if-nez v8, :cond_e

    const/16 p1, 0x0

    :goto_6
    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 337
    const-string p1, "\nLocale Code:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    move-object/from16 v0, p0

    move-object v1, v12

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 338
    const-string p1, "\nRelease Ver:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 339
    const-string p1, "\nSDK Ver:           "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build$VERSION;->SDK:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 340
    const-string p1, "\nIncremental Ver:   "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build$VERSION;->INCREMENTAL:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 341
    const-string p1, "\nBuild Brand:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->BRAND:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 342
    const-string p1, "\nBuild Model:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 343
    const-string p1, "\nBuild Board:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->BOARD:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 344
    const-string p1, "\nBuild Device:      "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->DEVICE:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 345
    const-string p1, "\nBuild Display:     "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->DISPLAY:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 346
    const-string p1, "\nBuild Fingerprint: "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->FINGERPRINT:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 347
    const-string p1, "\nBuild Host:        "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->HOST:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 348
    const-string p1, "\nBuild ID:          "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->ID:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 349
    const-string p1, "\nBuild Product:     "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->PRODUCT:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 350
    const-string p1, "\nBuild Tags:        "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->TAGS:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 351
    const-string p1, "\nBuild Time:        "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-wide p1, Landroid/os/Build;->TIME:J

    invoke-virtual/range {p0 .. p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 352
    const-string p1, "\nBuild Type:        "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->TYPE:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 353
    const-string p1, "\nBuild User:        "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Landroid/os/Build;->USER:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 354
    const-string p1, "\n"

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 355
    const-string p1, "\nPhone Type:        "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strPhoneType:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 356
    const-string p1, "\nNetwork Type:      "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkType:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 357
    const-string p1, "\nSim State:         "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimState:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 358
    const-string p1, "\nSim Country:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimCountryIso:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 359
    const-string p1, "\nSim Operator:      "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimOperator:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 360
    const-string p1, "\nSim Operator Name: "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strSimOperatorName:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 361
    const-string p1, "\nNet Country:       "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkCountryIso:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 362
    const-string p1, "\nNet Operator:      "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkOperator:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 363
    const-string p1, "\nNet Operator Name: "

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    sget-object p1, Lcom/glympse/android/glympseservice/ErrorReporter;->ms_strNetworkOperatorName:Ljava/lang/String;

    invoke-static/range {p1 .. p1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 364
    const-string p1, "\n"

    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 365
    if-nez p3, :cond_f

    const-string p1, ""

    :goto_7
    invoke-virtual/range {p0 .. p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p0

    .line 317
    invoke-virtual/range {p0 .. p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    .line 372
    .end local v8           #oLocale:Ljava/util/Locale;
    .end local v9           #strActiveSent:Ljava/lang/String;
    .end local v10           #strActiveWatching:Ljava/lang/String;
    .end local v11           #strNickName:Ljava/lang/String;
    .end local v12           #strLocaleCode:Ljava/lang/String;
    .end local v13           #strOriginalBuildName:Ljava/lang/String;
    .end local v14           #strUserId:Ljava/lang/String;
    :goto_8
    return-object p0

    .line 237
    .restart local v8       #oLocale:Ljava/util/Locale;
    .restart local p0
    .restart local p1
    :cond_7
    invoke-virtual {v8}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object v2

    move-object v3, v2

    goto/16 :goto_0

    .line 238
    .restart local v3       #strLanguage:Ljava/lang/String;
    :cond_8
    invoke-virtual {v8}, Ljava/util/Locale;->getCountry()Ljava/lang/String;
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0

    move-result-object v2

    goto/16 :goto_1

    .line 282
    .end local v3           #strLanguage:Ljava/lang/String;
    .restart local v2       #dLatitude:D
    .restart local v4       #dLongitude:D
    .restart local v6       #eLocProvider:I
    .restart local v7       #nOriginalBuild:I
    .local v10, strActiveSent:Ljava/lang/String;
    .local v11, strActiveWatching:Ljava/lang/String;
    .restart local v12       #strLocaleCode:Ljava/lang/String;
    .local v13, strNickName:Ljava/lang/String;
    .local v14, strOriginalBuildName:Ljava/lang/String;
    .restart local v15       #strUserId:Ljava/lang/String;
    :cond_9
    :try_start_5
    invoke-interface/range {v16 .. v16}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/glympse/platform/common/Ticket;

    .line 284
    .local v9, oTicket:Lcom/glympse/platform/common/Ticket;
    move-object v0, v9

    iget-wide v0, v0, Lcom/glympse/platform/common/Ticket;->m_lExpireTime:J

    move-wide/from16 v17, v0

    cmp-long v17, v17, p1

    if-lez v17, :cond_5

    .line 286
    new-instance v17, Ljava/lang/StringBuilder;

    invoke-static {v10}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v18

    invoke-direct/range {v17 .. v18}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v10}, Ljava/lang/String;->length()I

    move-result v18

    if-lez v18, :cond_a

    const-string v18, ", "

    :goto_9
    invoke-virtual/range {v17 .. v18}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v17

    move-object v0, v9

    iget-wide v0, v0, Lcom/glympse/platform/common/Ticket;->m_lTicketId:J

    move-wide/from16 v18, v0

    invoke-static/range {v18 .. v19}, Lcom/glympse/platform/common/Helpers;->LongToBase32(J)Ljava/lang/String;

    move-result-object v9

    .end local v9           #oTicket:Lcom/glympse/platform/common/Ticket;
    move-object/from16 v0, v17

    move-object v1, v9

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    .end local v10           #strActiveSent:Ljava/lang/String;
    .local v9, strActiveSent:Ljava/lang/String;
    move-object v10, v9

    .end local v9           #strActiveSent:Ljava/lang/String;
    .restart local v10       #strActiveSent:Ljava/lang/String;
    goto/16 :goto_3

    .local v9, oTicket:Lcom/glympse/platform/common/Ticket;
    :cond_a
    const-string v18, ""

    goto :goto_9

    .line 294
    .end local v9           #oTicket:Lcom/glympse/platform/common/Ticket;
    :cond_b
    invoke-interface/range {v16 .. v16}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/glympse/platform/common/User;

    .line 296
    .local v9, oUser:Lcom/glympse/platform/common/User;
    move-object v0, v9

    iget-object v0, v0, Lcom/glympse/platform/common/User;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    move-object/from16 v17, v0

    if-eqz v17, :cond_6

    .line 298
    iget-object v9, v9, Lcom/glympse/platform/common/User;->m_listTickets:Lcom/glympse/platform/GVector$Tickets;

    .end local v9           #oUser:Lcom/glympse/platform/common/User;
    invoke-virtual {v9}, Lcom/glympse/platform/GVector$Tickets;->iterator()Ljava/util/Iterator;

    move-result-object v17

    :cond_c
    :goto_a
    invoke-interface/range {v17 .. v17}, Ljava/util/Iterator;->hasNext()Z

    move-result v9

    if-eqz v9, :cond_6

    invoke-interface/range {v17 .. v17}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Lcom/glympse/platform/common/Ticket;

    .line 300
    .local v9, oTicket:Lcom/glympse/platform/common/Ticket;
    move-object v0, v9

    iget-wide v0, v0, Lcom/glympse/platform/common/Ticket;->m_lExpireTime:J

    move-wide/from16 v18, v0

    cmp-long v18, v18, p1

    if-lez v18, :cond_c

    .line 302
    new-instance v18, Ljava/lang/StringBuilder;

    invoke-static {v11}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v19

    invoke-direct/range {v18 .. v19}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v11}, Ljava/lang/String;->length()I

    move-result v19

    if-lez v19, :cond_d

    const-string v19, ", "

    :goto_b
    invoke-virtual/range {v18 .. v19}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v18

    move-object v0, v9

    iget-wide v0, v0, Lcom/glympse/platform/common/Ticket;->m_lTicketId:J

    move-wide/from16 v19, v0

    invoke-static/range {v19 .. v20}, Lcom/glympse/platform/common/Helpers;->LongToBase32(J)Ljava/lang/String;

    move-result-object v9

    .end local v9           #oTicket:Lcom/glympse/platform/common/Ticket;
    move-object/from16 v0, v18

    move-object v1, v9

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    .end local v11           #strActiveWatching:Ljava/lang/String;
    .local v9, strActiveWatching:Ljava/lang/String;
    move-object v11, v9

    .end local v9           #strActiveWatching:Ljava/lang/String;
    .restart local v11       #strActiveWatching:Ljava/lang/String;
    goto :goto_a

    .local v9, oTicket:Lcom/glympse/platform/common/Ticket;
    :cond_d
    const-string v19, ""
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_3

    goto :goto_b

    .line 336
    .end local v2           #dLatitude:D
    .end local v4           #dLongitude:D
    .end local v6           #eLocProvider:I
    .end local v7           #nOriginalBuild:I
    .end local v15           #strUserId:Ljava/lang/String;
    .end local p0
    .end local p1
    .local v9, strActiveSent:Ljava/lang/String;
    .local v10, strActiveWatching:Ljava/lang/String;
    .local v11, strNickName:Ljava/lang/String;
    .local v13, strOriginalBuildName:Ljava/lang/String;
    .local v14, strUserId:Ljava/lang/String;
    :cond_e
    :try_start_6
    invoke-virtual {v8}, Ljava/util/Locale;->getDisplayName()Ljava/lang/String;

    move-result-object p1

    goto/16 :goto_6

    .line 365
    :cond_f
    new-instance p1, Ljava/lang/StringBuilder;

    const-string p2, "\n"

    invoke-direct/range {p1 .. p2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static/range {p3 .. p3}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual/range {p1 .. p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object p1

    invoke-virtual/range {p1 .. p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_0

    move-result-object p1

    goto/16 :goto_7

    .line 367
    .end local v8           #oLocale:Ljava/util/Locale;
    .end local v9           #strActiveSent:Ljava/lang/String;
    .end local v10           #strActiveWatching:Ljava/lang/String;
    .end local v11           #strNickName:Ljava/lang/String;
    .end local v12           #strLocaleCode:Ljava/lang/String;
    .end local v13           #strOriginalBuildName:Ljava/lang/String;
    .end local v14           #strUserId:Ljava/lang/String;
    :catch_0
    move-exception p0

    .line 369
    .local p0, e:Ljava/lang/Exception;
    invoke-static/range {p0 .. p0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    .line 372
    const-string p0, ""

    goto/16 :goto_8

    .line 311
    .restart local v2       #dLatitude:D
    .restart local v4       #dLongitude:D
    .restart local v6       #eLocProvider:I
    .restart local v7       #nOriginalBuild:I
    .restart local v8       #oLocale:Ljava/util/Locale;
    .restart local v9       #strActiveSent:Ljava/lang/String;
    .local v10, strNickName:Ljava/lang/String;
    .local v11, strActiveWatching:Ljava/lang/String;
    .restart local v12       #strLocaleCode:Ljava/lang/String;
    .restart local v13       #strOriginalBuildName:Ljava/lang/String;
    .restart local v14       #strUserId:Ljava/lang/String;
    .local p0, strName:Ljava/lang/String;
    .restart local p1
    :catch_1
    move-exception v15

    move-object/from16 v21, v11

    .end local v11           #strActiveWatching:Ljava/lang/String;
    .local v21, strActiveWatching:Ljava/lang/String;
    move-object v11, v10

    .end local v10           #strNickName:Ljava/lang/String;
    .local v11, strNickName:Ljava/lang/String;
    move-object/from16 v10, v21

    .end local v21           #strActiveWatching:Ljava/lang/String;
    .local v10, strActiveWatching:Ljava/lang/String;
    goto/16 :goto_5

    .end local v10           #strActiveWatching:Ljava/lang/String;
    .local v11, strActiveWatching:Ljava/lang/String;
    .local v13, strNickName:Ljava/lang/String;
    .local v14, strOriginalBuildName:Ljava/lang/String;
    .restart local v15       #strUserId:Ljava/lang/String;
    :catch_2
    move-exception v10

    move-object v10, v11

    .end local v11           #strActiveWatching:Ljava/lang/String;
    .restart local v10       #strActiveWatching:Ljava/lang/String;
    move-object v11, v13

    .end local v13           #strNickName:Ljava/lang/String;
    .local v11, strNickName:Ljava/lang/String;
    move-object v13, v14

    .end local v14           #strOriginalBuildName:Ljava/lang/String;
    .local v13, strOriginalBuildName:Ljava/lang/String;
    move-object v14, v15

    .end local v15           #strUserId:Ljava/lang/String;
    .local v14, strUserId:Ljava/lang/String;
    goto/16 :goto_5

    .end local v9           #strActiveSent:Ljava/lang/String;
    .local v10, strActiveSent:Ljava/lang/String;
    .local v11, strActiveWatching:Ljava/lang/String;
    .local v13, strNickName:Ljava/lang/String;
    .local v14, strOriginalBuildName:Ljava/lang/String;
    .restart local v15       #strUserId:Ljava/lang/String;
    :catch_3
    move-exception v9

    move-object v9, v10

    .end local v10           #strActiveSent:Ljava/lang/String;
    .restart local v9       #strActiveSent:Ljava/lang/String;
    move-object v10, v11

    .end local v11           #strActiveWatching:Ljava/lang/String;
    .local v10, strActiveWatching:Ljava/lang/String;
    move-object v11, v13

    .end local v13           #strNickName:Ljava/lang/String;
    .local v11, strNickName:Ljava/lang/String;
    move-object v13, v14

    .end local v14           #strOriginalBuildName:Ljava/lang/String;
    .local v13, strOriginalBuildName:Ljava/lang/String;
    move-object v14, v15

    .end local v15           #strUserId:Ljava/lang/String;
    .local v14, strUserId:Ljava/lang/String;
    goto/16 :goto_5

    .end local v9           #strActiveSent:Ljava/lang/String;
    .local v10, strActiveSent:Ljava/lang/String;
    .local v11, strActiveWatching:Ljava/lang/String;
    .local v13, strNickName:Ljava/lang/String;
    .local v14, strOriginalBuildName:Ljava/lang/String;
    .restart local v15       #strUserId:Ljava/lang/String;
    :cond_10
    move-object v9, v10

    .end local v10           #strActiveSent:Ljava/lang/String;
    .restart local v9       #strActiveSent:Ljava/lang/String;
    move-object v10, v11

    .end local v11           #strActiveWatching:Ljava/lang/String;
    .local v10, strActiveWatching:Ljava/lang/String;
    move-object v11, v13

    .end local v13           #strNickName:Ljava/lang/String;
    .local v11, strNickName:Ljava/lang/String;
    move-object v13, v14

    .end local v14           #strOriginalBuildName:Ljava/lang/String;
    .local v13, strOriginalBuildName:Ljava/lang/String;
    move-object v14, v15

    .end local v15           #strUserId:Ljava/lang/String;
    .local v14, strUserId:Ljava/lang/String;
    goto/16 :goto_5

    .end local v10           #strActiveWatching:Ljava/lang/String;
    .local v11, strActiveWatching:Ljava/lang/String;
    .local v13, strNickName:Ljava/lang/String;
    .local v14, strOriginalBuildName:Ljava/lang/String;
    .restart local v15       #strUserId:Ljava/lang/String;
    :cond_11
    move-object v10, v9

    .end local v9           #strActiveSent:Ljava/lang/String;
    .local v10, strActiveSent:Ljava/lang/String;
    goto/16 :goto_4

    .end local v15           #strUserId:Ljava/lang/String;
    .restart local v9       #strActiveSent:Ljava/lang/String;
    .local v10, strNickName:Ljava/lang/String;
    .local v13, strOriginalBuildName:Ljava/lang/String;
    .local v14, strUserId:Ljava/lang/String;
    :cond_12
    move-object v15, v14

    .end local v14           #strUserId:Ljava/lang/String;
    .restart local v15       #strUserId:Ljava/lang/String;
    move-object v14, v13

    .end local v13           #strOriginalBuildName:Ljava/lang/String;
    .local v14, strOriginalBuildName:Ljava/lang/String;
    move-object v13, v10

    .end local v10           #strNickName:Ljava/lang/String;
    .local v13, strNickName:Ljava/lang/String;
    goto/16 :goto_2

    .end local v15           #strUserId:Ljava/lang/String;
    .restart local v10       #strNickName:Ljava/lang/String;
    .local v13, strOriginalBuildName:Ljava/lang/String;
    .local v14, strUserId:Ljava/lang/String;
    :cond_13
    move-object/from16 v21, v11

    .end local v11           #strActiveWatching:Ljava/lang/String;
    .restart local v21       #strActiveWatching:Ljava/lang/String;
    move-object v11, v10

    .end local v10           #strNickName:Ljava/lang/String;
    .local v11, strNickName:Ljava/lang/String;
    move-object/from16 v10, v21

    .end local v21           #strActiveWatching:Ljava/lang/String;
    .local v10, strActiveWatching:Ljava/lang/String;
    goto/16 :goto_5
.end method

.method public static GetReportName(J)Ljava/lang/String;
    .locals 10
    .parameter "lCurrent"

    .prologue
    const/4 v6, 0x0

    .line 182
    :try_start_0
    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v1

    .line 183
    .local v1, oLocale:Ljava/util/Locale;
    if-nez v1, :cond_0

    move-object v3, v6

    .line 184
    .local v3, strLanguage:Ljava/lang/String;
    :goto_0
    if-nez v1, :cond_1

    move-object v2, v6

    .line 185
    .local v2, strCountry:Ljava/lang/String;
    :goto_1
    new-instance v5, Ljava/lang/StringBuilder;

    invoke-static {v3}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_2

    const-string v6, "??"

    :goto_2
    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, "-"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->IsEmpty(Ljava/lang/String;)Z

    move-result v6

    if-eqz v6, :cond_3

    const-string v6, "??"

    :goto_3
    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 188
    .local v4, strLocaleCode:Ljava/lang/String;
    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "%tF_%tH-%tM-%tS.%tL_"

    const/4 v7, 0x5

    new-array v7, v7, [Ljava/lang/Object;

    const/4 v8, 0x0

    invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    aput-object v9, v7, v8

    const/4 v8, 0x1

    invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    aput-object v9, v7, v8

    const/4 v8, 0x2

    invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    aput-object v9, v7, v8

    const/4 v8, 0x3

    invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    aput-object v9, v7, v8

    const/4 v8, 0x4

    invoke-static {p0, p1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    aput-object v9, v7, v8

    invoke-static {v6, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 189
    const-string v6, "Android"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 190
    const-string v6, "1.28"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 191
    const/16 v6, 0x82

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 192
    const-string v6, "_R_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 193
    invoke-virtual {v5, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 194
    sget-object v6, Landroid/os/Build;->BRAND:Ljava/lang/String;

    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 195
    sget-object v6, Landroid/os/Build;->MODEL:Ljava/lang/String;

    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 196
    sget-object v6, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 197
    sget-object v6, Landroid/os/Build$VERSION;->SDK:Ljava/lang/String;

    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 198
    sget-object v6, Landroid/os/Build$VERSION;->INCREMENTAL:Ljava/lang/String;

    invoke-static {v6}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "_"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 199
    const-string v6, "%8X"

    const/4 v7, 0x1

    new-array v7, v7, [Ljava/lang/Object;

    const/4 v8, 0x0

    new-instance v9, Ljava/util/Random;

    invoke-direct {v9}, Ljava/util/Random;-><init>()V

    invoke-virtual {v9}, Ljava/util/Random;->nextInt()I

    move-result v9

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v9

    aput-object v9, v7, v8

    invoke-static {v6, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 188
    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    .line 206
    .end local v1           #oLocale:Ljava/util/Locale;
    .end local v2           #strCountry:Ljava/lang/String;
    .end local v3           #strLanguage:Ljava/lang/String;
    .end local v4           #strLocaleCode:Ljava/lang/String;
    :goto_4
    return-object v5

    .line 183
    .restart local v1       #oLocale:Ljava/util/Locale;
    :cond_0
    invoke-virtual {v1}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;

    move-result-object v5

    move-object v3, v5

    goto/16 :goto_0

    .line 184
    .restart local v3       #strLanguage:Ljava/lang/String;
    :cond_1
    invoke-virtual {v1}, Ljava/util/Locale;->getCountry()Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v5

    move-object v2, v5

    goto/16 :goto_1

    .restart local v2       #strCountry:Ljava/lang/String;
    :cond_2
    move-object v6, v3

    .line 185
    goto/16 :goto_2

    :cond_3
    move-object v6, v2

    goto/16 :goto_3

    .line 201
    .end local v1           #oLocale:Ljava/util/Locale;
    .end local v2           #strCountry:Ljava/lang/String;
    .end local v3           #strLanguage:Ljava/lang/String;
    :catch_0
    move-exception v5

    move-object v0, v5

    .line 203
    .local v0, e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    .line 206
    const-string v5, ""

    goto :goto_4
.end method

.method public static SendReport(Ljava/lang/Throwable;)V
    .locals 12
    .parameter "oThrowable"

    .prologue
    .line 381
    if-eqz p0, :cond_0

    .line 383
    :try_start_0
    invoke-static {p0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    .line 387
    :cond_0
    invoke-static {}, Lcom/glympse/platform/common/CorrectedTime;->GetTime()J

    move-result-wide v2

    .line 390
    .local v2, lCurrent:J
    invoke-static {v2, v3}, Lcom/glympse/android/glympseservice/ErrorReporter;->GetReportName(J)Ljava/lang/String;

    move-result-object v8

    .line 393
    .local v8, strName:Ljava/lang/String;
    invoke-static {v8, v2, v3, p0}, Lcom/glympse/android/glympseservice/ErrorReporter;->GetReport(Ljava/lang/String;JLjava/lang/Throwable;)Ljava/lang/String;

    move-result-object v9

    .line 396
    .local v9, strReport:Ljava/lang/String;
    new-instance v7, Ljava/net/URL;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "http://upload.glympse.com/?type=Android_Error&name="

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v11, "UTF-8"

    invoke-static {v8, v11}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    const-string v11, ".txt"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-direct {v7, v10}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    .line 397
    .local v7, oUrl:Ljava/net/URL;
    invoke-virtual {v7}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;

    move-result-object v5

    check-cast v5, Ljava/net/HttpURLConnection;

    .line 400
    .local v5, oHttpURLConnection:Ljava/net/HttpURLConnection;
    const/16 v10, 0x7530

    invoke-virtual {v5, v10}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V

    .line 401
    const/4 v10, 0x0

    invoke-virtual {v5, v10}, Ljava/net/HttpURLConnection;->setAllowUserInteraction(Z)V

    .line 402
    const/4 v10, 0x1

    invoke-virtual {v5, v10}, Ljava/net/HttpURLConnection;->setDoOutput(Z)V

    .line 403
    const-string v10, "Content-Type"

    const-string v11, "text/plain; charset=utf-8"

    invoke-virtual {v5, v10, v11}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    .line 406
    const-string v10, "UTF-8"

    invoke-virtual {v9, v10}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v0

    .line 407
    .local v0, abPost:[B
    invoke-virtual {v5}, Ljava/net/HttpURLConnection;->getOutputStream()Ljava/io/OutputStream;

    move-result-object v6

    .line 408
    .local v6, oOutputStream:Ljava/io/OutputStream;
    invoke-virtual {v6, v0}, Ljava/io/OutputStream;->write([B)V

    .line 409
    invoke-virtual {v6}, Ljava/io/OutputStream;->flush()V

    .line 410
    invoke-virtual {v6}, Ljava/io/OutputStream;->close()V

    .line 413
    invoke-virtual {v5}, Ljava/net/HttpURLConnection;->getResponseCode()I

    move-result v4

    .line 415
    .local v4, nCode:I
    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "SendReport - bytes: "

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    array-length v11, v0

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v10

    const-string v11, ", result: "

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 418
    invoke-virtual {v5}, Ljava/net/HttpURLConnection;->disconnect()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 424
    .end local v0           #abPost:[B
    .end local v2           #lCurrent:J
    .end local v4           #nCode:I
    .end local v5           #oHttpURLConnection:Ljava/net/HttpURLConnection;
    .end local v6           #oOutputStream:Ljava/io/OutputStream;
    .end local v7           #oUrl:Ljava/net/URL;
    .end local v8           #strName:Ljava/lang/String;
    .end local v9           #strReport:Ljava/lang/String;
    :goto_0
    return-void

    .line 420
    :catch_0
    move-exception v10

    move-object v1, v10

    .line 422
    .local v1, e:Ljava/lang/Exception;
    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method public static UploadLog([B)V
    .locals 12
    .parameter "abLog"

    .prologue
    .line 456
    const/4 v4, 0x0

    .line 461
    .local v4, nCode:I
    :try_start_0
    invoke-static {}, Lcom/glympse/platform/common/CorrectedTime;->GetTime()J

    move-result-wide v2

    .line 464
    .local v2, lCurrent:J
    invoke-static {v2, v3}, Lcom/glympse/android/glympseservice/ErrorReporter;->GetReportName(J)Ljava/lang/String;

    move-result-object v8

    .line 467
    .local v8, strName:Ljava/lang/String;
    const/4 v10, 0x0

    invoke-static {v8, v2, v3, v10}, Lcom/glympse/android/glympseservice/ErrorReporter;->GetReport(Ljava/lang/String;JLjava/lang/Throwable;)Ljava/lang/String;

    move-result-object v9

    .line 470
    .local v9, strReport:Ljava/lang/String;
    new-instance v7, Ljava/net/URL;

    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "http://upload.glympse.com/?type=Android_Log&name="

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v11, "UTF-8"

    invoke-static {v8, v11}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    const-string v11, ".txt"

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-direct {v7, v10}, Ljava/net/URL;-><init>(Ljava/lang/String;)V

    .line 471
    .local v7, oUrl:Ljava/net/URL;
    invoke-virtual {v7}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;

    move-result-object v5

    check-cast v5, Ljava/net/HttpURLConnection;

    .line 474
    .local v5, oHttpURLConnection:Ljava/net/HttpURLConnection;
    const v10, 0xea60

    invoke-virtual {v5, v10}, Ljava/net/HttpURLConnection;->setConnectTimeout(I)V

    .line 475
    const/4 v10, 0x0

    invoke-virtual {v5, v10}, Ljava/net/HttpURLConnection;->setAllowUserInteraction(Z)V

    .line 476
    const/4 v10, 0x1

    invoke-virtual {v5, v10}, Ljava/net/HttpURLConnection;->setDoOutput(Z)V

    .line 477
    const-string v10, "Content-Type"

    const-string v11, "text/plain; charset=utf-8"

    invoke-virtual {v5, v10, v11}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    .line 480
    invoke-virtual {v5}, Ljava/net/HttpURLConnection;->getOutputStream()Ljava/io/OutputStream;

    move-result-object v6

    .line 483
    .local v6, oOutputStream:Ljava/io/OutputStream;
    const-string v10, "UTF-8"

    invoke-virtual {v9, v10}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v0

    .line 484
    .local v0, abPost:[B
    invoke-virtual {v6, v0}, Ljava/io/OutputStream;->write([B)V

    .line 487
    const-string v10, "\n-------------------------------------------------------------------------------\n"

    const-string v11, "UTF-8"

    invoke-virtual {v10, v11}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v0

    .line 488
    invoke-virtual {v6, v0}, Ljava/io/OutputStream;->write([B)V

    .line 491
    invoke-virtual {v6, p0}, Ljava/io/OutputStream;->write([B)V

    .line 494
    invoke-virtual {v6}, Ljava/io/OutputStream;->flush()V

    .line 495
    invoke-virtual {v6}, Ljava/io/OutputStream;->close()V

    .line 498
    invoke-virtual {v5}, Ljava/net/HttpURLConnection;->getResponseCode()I

    move-result v4

    .line 501
    invoke-virtual {v5}, Ljava/net/HttpURLConnection;->disconnect()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 508
    .end local v0           #abPost:[B
    .end local v2           #lCurrent:J
    .end local v5           #oHttpURLConnection:Ljava/net/HttpURLConnection;
    .end local v6           #oOutputStream:Ljava/io/OutputStream;
    .end local v7           #oUrl:Ljava/net/URL;
    .end local v8           #strName:Ljava/lang/String;
    .end local v9           #strReport:Ljava/lang/String;
    :goto_0
    new-instance v10, Ljava/lang/StringBuilder;

    const-string v11, "UploadLog - bytes: "

    invoke-direct {v10, v11}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    array-length v11, p0

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v10

    const-string v11, ", result: "

    invoke-virtual {v10, v11}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    .line 509
    return-void

    .line 503
    :catch_0
    move-exception v10

    move-object v1, v10

    .line 505
    .local v1, e:Ljava/lang/Exception;
    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method public static UploadLogOnBackgroundThread()V
    .locals 4

    .prologue
    .line 431
    :try_start_0
    const-string v2, "debug"

    invoke-static {v2}, Lcom/glympse/platform/GFile;->ReadFileToByteArray(Ljava/lang/String;)[B

    move-result-object v0

    .line 432
    .local v0, abLog:[B
    if-eqz v0, :cond_0

    .line 434
    sget-object v2, Lcom/glympse/platform/Platform;->m_oContext:Landroid/content/Context;

    const-string v3, "debug.txt"

    invoke-virtual {v2, v3}, Landroid/content/Context;->deleteFile(Ljava/lang/String;)Z

    .line 436
    const-string v2, "Glympse"

    const-string v3, "UploadLog"

    invoke-static {v2, v3}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 438
    new-instance v2, Lcom/glympse/android/glympseservice/ErrorReporter$1;

    invoke-direct {v2, v0}, Lcom/glympse/android/glympseservice/ErrorReporter$1;-><init>([B)V

    .line 444
    invoke-virtual {v2}, Lcom/glympse/android/glympseservice/ErrorReporter$1;->start()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 451
    .end local v0           #abLog:[B
    :cond_0
    :goto_0
    return-void

    .line 447
    :catch_0
    move-exception v2

    move-object v1, v2

    .line 449
    .local v1, e:Ljava/lang/Exception;
    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/Throwable;)V

    goto :goto_0
.end method


# virtual methods
.method public uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
    .locals 1
    .parameter "oThread"
    .parameter "oThrowable"

    .prologue
    .line 148
    :try_start_0
    iget-boolean v0, p0, Lcom/glympse/android/glympseservice/ErrorReporter;->m_fInHandler:Z

    if-eqz v0, :cond_0

    .line 174
    :goto_0
    return-void

    .line 152
    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/glympse/android/glympseservice/ErrorReporter;->m_fInHandler:Z

    .line 155
    invoke-static {p2}, Lcom/glympse/android/glympseservice/ErrorReporter;->SendReport(Ljava/lang/Throwable;)V

    .line 158
    iget-object v0, p0, Lcom/glympse/android/glympseservice/ErrorReporter;->m_oUncaughtExceptionHandlerPrev:Ljava/lang/Thread$UncaughtExceptionHandler;

    if-eqz v0, :cond_1

    .line 160
    iget-object v0, p0, Lcom/glympse/android/glympseservice/ErrorReporter;->m_oUncaughtExceptionHandlerPrev:Ljava/lang/Thread$UncaughtExceptionHandler;

    invoke-interface {v0, p1, p2}, Ljava/lang/Thread$UncaughtExceptionHandler;->uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 169
    :cond_1
    :goto_1
    const/4 v0, 0x0

    :try_start_1
    iput-boolean v0, p0, Lcom/glympse/android/glympseservice/ErrorReporter;->m_fInHandler:Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    .line 171
    :catch_0
    move-exception v0

    goto :goto_0

    .line 163
    :catch_1
    move-exception v0

    goto :goto_1
.end method
